// Decompiled on 周六 2月 22 19:31:49 CST 2025 with Zomboid Decompiler v0.1.3 using Vineflower.
package zombie.audio.parameters;

import zombie.audio.FMODGlobalParameter;

public final class ParameterMusicState extends FMODGlobalParameter {
    private ParameterMusicState.State state = ParameterMusicState.State.MainMenu;

    public ParameterMusicState() {
        super("MusicState");
    }

    @Override
    public float calculateCurrentValue() {
        return (float)this.state.label;
    }

    public void setState(ParameterMusicState.State _state) {
        this.state = _state;
    }

    public static enum State {
        MainMenu(0),
        Loading(1),
        InGame(2),
        PauseMenu(3),
        Tutorial(4);

        final int label;

        private State(int int1) {
            this.label = int1;
        }
    }
}
